Skip to content

Add buffer size tests#37

Merged
tobybellwood merged 1 commit intomainfrom
feature/31-tune-bufsize
Apr 13, 2026
Merged

Add buffer size tests#37
tobybellwood merged 1 commit intomainfrom
feature/31-tune-bufsize

Conversation

@tobybellwood
Copy link
Copy Markdown
Contributor

@tobybellwood tobybellwood commented Apr 13, 2026

This pull request adds a new test to ensure that the HAProxy configuration correctly supports larger request headers when the tune.bufsize parameter is increased. The test verifies that a header larger than the default buffer size is accepted when the buffer is set to 32 KB, which helps prevent dropped connections due to header size limits.

Testing improvements:

  • Added a test to tests/runtime.bats that verifies HAProxy accepts request headers up to 32 KB when tune.bufsize is configured to 32768, ensuring connections are not dropped for large headers.

@tobybellwood tobybellwood marked this pull request as ready for review April 13, 2026 07:33
@tobybellwood tobybellwood force-pushed the feature/31-tune-bufsize branch from f8c3e5c to 0f12aac Compare April 13, 2026 11:52
@tobybellwood tobybellwood changed the title Increase buffer size to 32KB and improve related tests Add buffer size tests Apr 13, 2026
@tobybellwood tobybellwood merged commit a5a59d0 into main Apr 13, 2026
2 checks passed
@tobybellwood tobybellwood deleted the feature/31-tune-bufsize branch April 13, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant